package cloudspace.stats;

import java.util.Observer;
import java.util.Properties;


public interface StatisticType extends Observer
{
    public enum Level {
        NONE, BRONZE, SILVER, GOLD
    }


    public Long getValue();


    public Level getLevel();


    public String getKey();


    public String getUnits();


    public StatisticType copy( String userName, Properties prop );


    public void persist();


    public void setup(
        String key,
        String bronze,
        String silver,
        String gold,
        String units );


    public void setup(
        String key,
        int bronze,
        int silver,
        int gold,
        String units,
        String userName );


    public StatisticType instanceOf();
}
